package cn.net.lwj.sjqy.dao.mysql;

import cn.net.lwj.sjqy.base.BaseDAO;
import cn.net.lwj.sjqy.entity.User;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

//@Repository
//public interface UserDao extends Mapper<User> {
//extends BaseDAO<User>
@Repository
//@Component
@Mapper
public interface UserDao extends BaseDAO<User> {
    User getUser(@Param("id") int id);
    List<User> getAllUser();

}
